package o;

import android.content.Context;
import android.content.DialogInterface;

public class ewh extends cku {
    private static boolean ॱ = false;

    public static boolean ˏ() {
        return ॱ;
    }

    public static void ˋ(boolean z) {
        ॱ = z;
    }

    public static ewh ॱ(Context context, String str, String str2) {
        ewh o_ewh;
        synchronized (ewh.class) {
            if (ˏ()) {
                o_ewh = null;
            } else {
                ˋ(true);
                o_ewh = (ewh) cku.ˏ(context, ewh.class, str, str2);
            }
        }
        return o_ewh;
    }

    public void onDismiss(DialogInterface dialogInterface) {
        synchronized (ewh.class) {
            ˋ(false);
            super.onDismiss(dialogInterface);
        }
    }
}
